<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2022/1/18
  Time: 14:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="common/head.jsp"%>
<html>
<head>
    <title>教师个人信息</title>
    <script>
        $(function(){
            $.ajax({
                url:"../user/lookteapro",
                data:{},
                type:"post",
                dataType:"json",
                success:function(data){
                    $(".tid").html(data.tid);
                    $(".tname").html(data.tname);
                    $(".gender").html(data.gender);
                    // $(".password").html(data.password);
                }

            })

        })
    </script>
    <script src="../static/js/jquery-3.4.1.js"></script>
</head>
<style>
    table,form{
        margin-left: auto;
        margin-right: auto;
        margin-top: 20px;
    }
    td{
        text-align: center;
        height: 30px;
        width: 200px;
    }
    .td2{
        text-align: center;
        width: 400px;
    }
    .td3 input{
        width: 100px;
    }


</style>
<body>
<%--240,248,255--%>
<form action="" method="post" id="teacher" name="teacher">
    <table style="background-color: #f0f8ff;" border="1px solid red" cellspacing="0px"  >
        <caption><h2>教师个人信息</h2>
            </caption>
    </div>
        <tr>
            <td class="td1">教师编号:</td>
            <td class="td2 tid"  colspan="2" align="left"></td>
        </tr>
        <tr>
            <td class="td1">姓名:</td>
            <td class="td2 tname"  colspan="2" align="left"></td>
        </tr>

        <tr>
            <td class="td1">性别:</td>
            <td class="td2 gender" colspan="2" align="left"></td>
        </tr>
<%--        <tr>--%>
<%--            <td class="td1">密码:</td>--%>
<%--            <td class="td2 password"  colspan="2" align="left"></td>--%>
<%--        </tr>--%>
    </table>
    <br>
<%--    <div align="center"  >--%>
<%--    <input type="hidden"  id="update" name="update" value="修改">--%>
<%--    </div>--%>
</form>
</body>
<%@include file="common/foot.jsp" %>
</html>
